public class SubThreadSell {
    public static void main(String[] args) {
        MySellTickets task = new MySellTickets();
        Thread thread1 = new Thread(task,"张三");
        Thread thread2 = new Thread(task,"李四");
        Thread thread3 = new Thread(task,"王五");
        Thread thread4 = new Thread(task,"王五");
        thread1.start();
        thread2.start();
        thread3.start();
        thread4.start();
    }
}
